<?php

class Kd_Data_Dcl_Expression_Where_Condition_Contain extends Kd_Data_Dcl_Expression_Where_Condition_Not {

    private $_left = NULL;
    private $_right = NULL;

    public function  __construct($left = NULL, $right = NULL) {
        parent::__construct();
        $this->setLeft($left)->setRight($right);
    }

    public function getLeft(){
        return $this->_left;
    }
    public function setLeft($value){
        $this->_left = is_string($value)? new Kd_Data_Dcl_Expression_Field($value):$value;
        return $this;
    }

    public function getRight(){
        return $this->_right;
    }
    public function setRight($value){
        $this->_right = $value;
        return $this;
    }

    public function getConditionType(){
        return 'in';
    }
}